package com.junlong0716.enjoylearning.entity

import com.chad.library.adapter.base.entity.MultiItemEntity

/**
 *@author: 巴黎没有摩天轮Li
 *@description:
 *@date: Created in 下午1:00 2018/4/21
 *@modified by:
 */
class FindMultipleItemEntity(itemType: Int, var data: ArrayList<FindItemEntity>) : MultiItemEntity {
    private var mItemType = itemType

    companion object {
        //头部
        const val FIND_TYPE_HEADER = 1
        //推荐专题
        const val FIND_TYPE_COMMEND_TOPIC = 2
        //推荐视频
        const val FIND_TYPE_COMMEND_VIDEO = 3
        //推荐音频
        const val FIND_TYPE_COMMEND_AUDIO = 4
        //推荐文稿
        const val FIND_TYPE_COMMEND_DOCUMENT = 5
    }


    override fun getItemType(): Int {
        return mItemType
    }
}
